/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pe.edu.upc.sad.util;

/**
 *
 * @author aalanya
 */
public class BError {

    private int codError;
    private String msgError;

    public BError(int cError, String mError)
    {
        this.codError = cError;
        this.msgError = mError;
    }
    public BError()
    {

    }

    /**
     * @return the codError
     */
    public int getCodError() {
        return codError;
    }

    /**
     * @param codError the codError to set
     */
    public void setCodError(int codError) {
        this.codError = codError;
    }

    /**
     * @return the msgError
     */
    public String getMsgError() {
        return msgError;
    }

    /**
     * @param msgError the msgError to set
     */
    public void setMsgError(String msgError) {
        this.msgError = msgError;
    }

}
